package com.jyw.common.core.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @author Created by ZhangCheng on 2024/02/02
 */
@Data
@ApiModel("数据字典分页查询Dto")
public class SysDictTypePageDto {

    @ApiModelProperty("字典名称")
    private String dictName;

    @ApiModelProperty("字典类型")
    private String dictType;

    /** 字典层级 */
    @ApiModelProperty("字典层级")
    private Integer dictLevel;

    /** 字典所属 */
    @ApiModelProperty("字典所属")
    private Integer dictBelong;

    @ApiModelProperty("状态（0正常 1停用）")
    private String status;

    /** 创建开始时间 */
    @ApiModelProperty(value = "创建开始时间",example = "2023-08-16")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate createStartTime;

    /** 创建结束时间 */
    @ApiModelProperty(value = "创建结束时间",example = "2023-08-16")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate createEndTime;

}
